﻿using Assets.Script.NetSystem.Services.HallService;
using Script.UiSystem.Hall;
using SimpleTools.Json;

namespace Assets.Script.NetSystem.Services.RoomAndBattle.HallService.Handler
{
    public class UpdateRoom : IHallHandler
    {
        public void Handler(HallClient hallClient, JsonData jsonData)
        {
            HallController.Instance.UpdateRooms(jsonData.GetInt("roomId"), jsonData.GetInt("num"));
        }
    }
}